//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain.vo;

public class BarrageParam {
    Long id;
    Integer index;
    Integer start;
    Long taskUserId;
    Integer productIndex;
    Integer barrageIndex;
    Long productId;

    public BarrageParam() {
    }

    public Long getId() {
        return this.id;
    }

    public Integer getIndex() {
        return this.index;
    }

    public Integer getStart() {
        return this.start;
    }

    public Long getTaskUserId() {
        return this.taskUserId;
    }

    public Integer getProductIndex() {
        return this.productIndex;
    }

    public Integer getBarrageIndex() {
        return this.barrageIndex;
    }

    public Long getProductId() {
        return this.productId;
    }

    public BarrageParam setId(final Long id) {
        this.id = id;
        return this;
    }

    public BarrageParam setIndex(final Integer index) {
        this.index = index;
        return this;
    }

    public BarrageParam setStart(final Integer start) {
        this.start = start;
        return this;
    }

    public BarrageParam setTaskUserId(final Long taskUserId) {
        this.taskUserId = taskUserId;
        return this;
    }

    public BarrageParam setProductIndex(final Integer productIndex) {
        this.productIndex = productIndex;
        return this;
    }

    public BarrageParam setBarrageIndex(final Integer barrageIndex) {
        this.barrageIndex = barrageIndex;
        return this;
    }

    public BarrageParam setProductId(final Long productId) {
        this.productId = productId;
        return this;
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof BarrageParam)) {
            return false;
        } else {
            BarrageParam other = (BarrageParam)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label95: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label95;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label95;
                    }

                    return false;
                }

                Object this$index = this.getIndex();
                Object other$index = other.getIndex();
                if (this$index == null) {
                    if (other$index != null) {
                        return false;
                    }
                } else if (!this$index.equals(other$index)) {
                    return false;
                }

                Object this$start = this.getStart();
                Object other$start = other.getStart();
                if (this$start == null) {
                    if (other$start != null) {
                        return false;
                    }
                } else if (!this$start.equals(other$start)) {
                    return false;
                }

                label74: {
                    Object this$taskUserId = this.getTaskUserId();
                    Object other$taskUserId = other.getTaskUserId();
                    if (this$taskUserId == null) {
                        if (other$taskUserId == null) {
                            break label74;
                        }
                    } else if (this$taskUserId.equals(other$taskUserId)) {
                        break label74;
                    }

                    return false;
                }

                label67: {
                    Object this$productIndex = this.getProductIndex();
                    Object other$productIndex = other.getProductIndex();
                    if (this$productIndex == null) {
                        if (other$productIndex == null) {
                            break label67;
                        }
                    } else if (this$productIndex.equals(other$productIndex)) {
                        break label67;
                    }

                    return false;
                }

                Object this$barrageIndex = this.getBarrageIndex();
                Object other$barrageIndex = other.getBarrageIndex();
                if (this$barrageIndex == null) {
                    if (other$barrageIndex != null) {
                        return false;
                    }
                } else if (!this$barrageIndex.equals(other$barrageIndex)) {
                    return false;
                }

                Object this$productId = this.getProductId();
                Object other$productId = other.getProductId();
                if (this$productId == null) {
                    if (other$productId != null) {
                        return false;
                    }
                } else if (!this$productId.equals(other$productId)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof BarrageParam;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        int result1 = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $index = this.getIndex();
        result1 = result * 59 + ($index == null ? 43 : $index.hashCode());
        Object $start = this.getStart();
        result1 = result * 59 + ($start == null ? 43 : $start.hashCode());
        Object $taskUserId = this.getTaskUserId();
        result1 = result * 59 + ($taskUserId == null ? 43 : $taskUserId.hashCode());
        Object $productIndex = this.getProductIndex();
        result1 = result * 59 + ($productIndex == null ? 43 : $productIndex.hashCode());
        Object $barrageIndex = this.getBarrageIndex();
        result1 = result * 59 + ($barrageIndex == null ? 43 : $barrageIndex.hashCode());
        Object $productId = this.getProductId();
        result1 = result * 59 + ($productId == null ? 43 : $productId.hashCode());
        return result1;
    }

    public String toString() {
        return "BarrageParam(id=" + this.getId() + ", index=" + this.getIndex() + ", start=" + this.getStart() + ", taskUserId=" + this.getTaskUserId() + ", productIndex=" + this.getProductIndex() + ", barrageIndex=" + this.getBarrageIndex() + ", productId=" + this.getProductId() + ")";
    }
}
